import React from 'react';
import styled from 'styled-components';
const Box = styled.div`
    width: 100%;
    height: 74px;
    border: 2px solid rgb(235, 237, 240);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
`
const PageHeader = (props) => {
    return (
        <Box className='pageheader'>
            <div>{props.title}</div>
            {props.children}
        </Box>
    );
}

export default PageHeader;
